package com.lx.pc.domain.entity.transaction;

import java.io.Serializable;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 交易记录
 *
 * @author houzhong
 * @date 2018年11月14日 上午11:32:55
 */
@Entity(table = "t_transaction")
public class TransactionEntity extends AbstractBaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 订单编号
	 */
	@Column(name = "order_id")
	private String orderId;
	
	/**
	 * 交易编号
	 */
	@Column(name = "tran_number")
	private String tranNumber;

	public TransactionEntity() {
		super();
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	public String getOrderId() {
		return orderId;
	}
	
	public void setTranNumber(String tranNumber) {
		this.tranNumber = tranNumber;
	}
	
	public String getTranNumber() {
		return tranNumber;
	}
}
